/**
 * 
 */
package br.srv.full.virtual.faces.components.table;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.richfaces.model.selection.Selection;

/**
 * @author Delfino
 * 
 */
public final class ListAllTableModel {

	private final Log log = LogFactory.getLog(getClass());

	private Selection selection;

	/**
	 * @return the selection
	 */
	public Selection getSelection() {
		return selection;
	}

	/**
	 * @param p_selection
	 *            the selection to set
	 */
	public void setSelection(Selection p_selection) {
		log.info("Seleção: " + p_selection);

		selection = p_selection;
	}

	public void takeSelected() {
		Selection l_selection = getSelection();

		log.info("Seleção: " + l_selection);
	}
}
